home *** CD-ROM | disk | FTP | other *** search
-
- scriptname="$0"
- step="$1"
- keywords="$2"
- pkglist="$3"
-
- # Source in the standard functions library, ccsSetup.sh
- . ccsSetup.sh
-
- doPostExport() {
- echo "/bin/zsh" >> /etc/shells
- }
-
- doPostUnExport() {
- grep -v /bin/zsh /etc/shells > /tmp/ccs$$
- cp /tmp/ccs$$ /etc/shells
- rm -f /tmp/ccs$$
- }
-
- ccs_return_value=0
-
- case "$step" in
- POST_EXPORT) doPostExport ;;
- POST_UNEXPORT) doPostUnExport ;;
- esac
-
- exit $ccs_return_value
-
-